﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

using My_TV_Manager.Model;
using My_TV_Manager.View;

namespace My_TV_Manager
{
    public class Program
    {
        static void Main(string[] args)
        {
            Controller controller = new Controller();

            Conversion.AddException("Nip Tuck", "Nip/Tuck");
            Conversion.AddException("Parenthood", "Parenthood (2010)");
            Conversion.AddException("The Office", "The Office (US)");
            Conversion.AddException("V", "V (2009)");

            //DateTime oneWeek = DateTime.Now;
            //oneWeek = oneWeek.AddDays(7);
            //Console.Out.WriteLine(DateTime.Now + " " + oneWeek);

            SeriesSet mySeries = new SeriesSet(Settings.ExternalTVDirectory);

            SeriesSet TVDBSeries = new SeriesSet();
            //TVDBSeries.LoadSeriesFromTVDB(mySeries.SeriesNames);

            string input;
            ApplicationInterface test = new ApplicationInterface(controller);
            test.ShowDialog();
            /*
            while (true)
            {
                Console.Out.Write("> ");
                input = Console.In.ReadLine();

                if (input != "")
                {
                    Console.Out.WriteLine("Valid input");

                }
            }
            */
        }
    }
}
